package com.beizhen.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beizhen.demo.entity.Code;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CodeDao extends BaseMapper<Code> {

    int insertInfo(Code code);
    String getCode(String phone);
    int deletCode(String phone);
    List<Code> getAll();
}

